<?php
    $images = $this->requestAction('headerimages/images');
?>
<div id="wrapper">
    <div class="slider-wrapper theme-default">
        <div id="slider" class="nivoSlider">
            <!--[if lt IE 10 ]>
                <img src="template/default/style/fejlec/fejlec_1.png">
                <![endif]-->


            <?php
            foreach ($images as $image) {
                echo $this->html->image('headers' . '/' . $image['Headerimage']['filename'], array('alt' => '','title'=>$image['Headerimage']['title']));
            }
            ?>
        </div>
        <div id="htmlcaption" class="nivo-html-caption">
                <strong>This</strong> is an example of a <em>HTML</em> caption with <a href="#">a link</a>. 
            </div>
    </div>
</div>

